package com.woniu.mapper;

import com.woniu.pojo.Dept;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface DeptMapper {
    //根据部门id查询部门
    public Dept selectDeptByDid(@Param("did")Integer did);
    //根据员工id查询部门
    public Dept selectDeptByUid();


}
